projects
/
emacs.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
b417344
)
* lisp/tab-bar.el (tab-bar-format-global): Use string-trim-right (bug#30056).
author
Juri Linkov
<juri@linkov.net>
Tue, 27 Jul 2021 20:55:32 +0000
(23:55 +0300)
committer
Juri Linkov
<juri@linkov.net>
Tue, 27 Jul 2021 20:55:32 +0000
(23:55 +0300)
lisp/tab-bar.el
patch
|
blob
|
history
diff --git
a/lisp/tab-bar.el
b/lisp/tab-bar.el
index c63ef20abeaf872737b06a77fa4dde331bdad51a..4d7a0796e56a0db815fdc11430ce1bf4167ca650 100644
(file)
--- a/
lisp/tab-bar.el
+++ b/
lisp/tab-bar.el
@@
-748,7
+748,7
@@
When `tab-bar-format-global' is added to `tab-bar-format'
then modes that display information on the mode line
using `global-mode-string' will display the same text
on the tab bar instead."
- `((global menu-item ,(
format-mode-line global-mode-string
) ignore)))
+ `((global menu-item ,(
string-trim-right (format-mode-line global-mode-string)
) ignore)))
(defun tab-bar-format-list (format-list)
(let ((i 0))